//
//  KFDTeacher.m
//  KFD
//
//  Created by JIRENTIANXIANG on 7/12/15.
//  Copyright © 2015 kfd. All rights reserved.
//

#import "KFDTeacher.h"

@implementation KFDTeacher

-(instancetype)initWithDictionary:(NSDictionary *)dictionary
{
    if (self=[super initWithDictionary:dictionary]) {
        NSString* time=dictionary[@"choose_time"];
        self.choose_time=[NSDate dateWithTimeIntervalSince1970:time.integerValue];
        self.level=((NSString*)dictionary[@"level"]).integerValue;
        self.ischoose=((NSString*)dictionary[@"ischoose"]).boolValue;
    }
    return self;
}

@end
